package com.zjf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjf.entity.Orders;

import java.util.List;


public interface OrdersMapper extends BaseMapper<Orders> {

    public int saveOrders(Orders orders);
    public Orders getOrdersById(Integer orderId);
    public List<Orders> listOrdersByUserId(String userId);

    int payOrder(Integer orderId);
}
